/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entities;

import java.util.Date;

/**
 *
 * @author K u Ku
 */
public class User {
    private int userID;
    private String userName;
    private String password;
    private boolean role;
    private String name;
    private String identityCard;
    private boolean gender;
    private Date birthday;
    private String phone;
    private String email;
    private String address;
    private String notes;
    private boolean isActived;

    public User() {
    }

    public User(int userID) {
        this.userID = userID;
    }

    public User(int userID, String userName, String password, boolean role,
            String name, String identityCard, boolean gender, Date birthday,
            String phone, String email, String address, String notes, boolean isActived) {
        this.userID = userID;
        this.userName = userName;
        this.password = password;
        this.role = role;
        this.name = name;
        this.identityCard = identityCard;
        this.gender = gender;
        this.birthday = birthday;
        this.phone = phone;
        this.email = email;
        this.address = address;
        this.notes = notes;
        this.isActived = isActived;
    }

    
    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isRole() {
        return role;
    }

    public void setRole(boolean role) {
        this.role = role;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public boolean isIsActived() {
        return isActived;
    }

    public void setIsActived(boolean isActived) {
        this.isActived = isActived;
    }
    
    @Override public String toString(){
        return null;
    }
}
